home *** CD-ROM | disk | FTP | other *** search
/ Megahits 5 / Megahits 5 (1994)(GTI - Rhein-Main-Soft)(DE)(Disc 2 of 2)[!].iso / archive / conv / texte / ilbm2ascii14.txt < prev    next >
Text File  |  1995-02-14  |  6KB  |  102 lines

  1. Short: Converts IFFÕs pictures to ascii pictures
  2. type: gfx/conv
  3. uploader: M.P.Stratfold@open.ac.uk
  4. author: ukjg@rz.uni-karlsruhe.de
  5.  
  6.  
  7. ILBM2ASCII                                                 @@@@@@@@@@@@@[
  8. ----------                                                 ~~~~~~~~~~~~~`
  9.  
  10. by Tobias Ferber                                           mmmmmmmmmmmmmi
  11. based on iff2ascii.amos by Matthew Stratfold               @A***********!
  12.                                                            @[
  13.                                                            @[
  14. What's it do?                                              @[
  15. -------------                                              @[
  16. It converts IFF pictures into an ASCII representation.
  17. The program will antialiase the text by selecting the      mmmmmmmmmmmmmi
  18. best characters to make the edge.  Characters are also     @A****M@****@[
  19. selected for their density when shading.                   @[    ]@    @[
  20.                                                            @[    ]@    @[
  21. How to use it:                                             @[    ]@    @[
  22. -------------                                              Y@_  _@@W__W@`
  23. The program can be invoked from the shell in the normal    'M@@@@A~*@@A`
  24. way or by running the arexx script use either:               '~~`
  25.  
  26. ilbm2ascii [ilbm-file] > [ascii file]
  27. rx ILBM2ASCII.rexx FROM [ilbm file] TO [ascii file]
  28.                                                            @@@@@@@@@@@@@[
  29. If you have ARexx running you can double click the icon    ~~~~~~~~~XX@@[
  30. and start it from the Workbench and select the picture         __mW@A*~`
  31. and destination file using file requesters.                _mW@A*~`
  32.                                                            @@b_.
  33. How it works:                                               ~V*@@ms_.
  34. ------------                                                    '~V*@@ms.
  35. The program looks at pixel blocks of 2x3 pixels and        mmmmmmmmmmW@@[
  36. selects a character that best matches that block.          *************!
  37. Consequently the ASCII picture will be much bigger and
  38. and a differnt aspect ratio than the original IFF.         @@m_    ims.
  39. You may want to adjust your IFF before conversion to       @PV@W.  !*M@b
  40. compensate for this.  If you want to know more then have   @[ '@W.    V@[
  41. a look at the source that's included.                      @[  '@W.    @[
  42.                                                            @[   !@@s__W@`
  43. Preparation of the pictures:                               @[    '*@@@*`
  44. ---------------------------                                s_
  45. The program assumes that any non background colour is      M@@Ws_
  46. a colour.  For this reason you should use 2 colour           ~V@@@Wm_
  47. images.  If you want to convert images with more colours       @['~*@@Wm.
  48. then load them in to your favourite imgage processor           @[   _d@@[
  49. and dither a 2 colour image from that.  ILBM2ASCII will        @bmW@@*f~
  50. select a character whose density best matches the dither.   ,_m@@@*f~
  51.                                                            @@*f`
  52.                                                            `
  53. Distribution etc:                                           gW@[  ,gmms.
  54. ----------------                                           d@*~` ,@@**@@.
  55. The Conversion Table is inspired by Jorn Barger's         i@!    d@!   MW
  56. alt.ascii art FAQ which had the table by Rob Harley in    ]@     @@    ]@
  57. it.                                                       !@.   ]@[   ,WP
  58.                                                            MWs_g@A  im@A`
  59. The program is freely distributable, though keep the        VM@@*`  !*~
  60. archive together and give credit where it's due.
  61.                                                              _mm@@@Wms.
  62. Feel free to include this any archives and libraries       ,W@**~~~V*@@s
  63. do not charge any money other than an amount to cover      @A`        V@i
  64. media, duplication and distribution.                      ]@`          Y@
  65.                                                           ]@           ]@
  66. All programming by Tobias Ferber.                         '@b         ,@P
  67. (ukjg@rz.uni-karlsruhe.de)                                 !@Wm_    ,g@A`
  68.                                                             'VM@    ]Af
  69. ILBM2ASCII is a C coded FAST program based on IFF2ASCII
  70. which was an AMOS program by Matthew Stratfold. Who also   mmmmmmmmmmmmmi
  71. helped out on this doc, examples and the-rat icon.         *************!
  72.  
  73.                                                            _____________.
  74.                                                            @@@@@@@@@@@@@[
  75.  
  76. This program is BeerWare - if you like it go and buy yourself a beer :-)
  77.  
  78.  
  79. ============================= Archive contents =============================
  80.  
  81. Original  Packed Ratio    Date     Time    Name
  82. -------- ------- ----- --------- --------  -------------
  83.      469     249 46.9% 15-Jun-94 20:43:38  ilbm2ascii-1.4/Distfile
  84.      952     357 62.5% 15-Jun-94 20:44:06  ilbm2ascii-1.4/DMakefile
  85.      948     497 47.5% 15-Jun-94 21:25:46  ilbm2ascii-1.4/examples.info
  86.    13141    3896 70.3% 20-Jun-94 18:46:28  ilbm2ascii-1.4/examples/fen.ascii
  87.     7246    5159 28.8% 16-Jun-94 17:52:38  ilbm2ascii-1.4/examples/fen.iff
  88.    12865    4072 68.3% 26-Apr-94 20:09:46  ilbm2ascii-1.4/examples/lady2.ascii
  89.     8748    5776 33.9% 20-Feb-94 12:45:36  ilbm2ascii-1.4/examples/lady2.iff
  90.     7069    1885 73.3% 06-Jun-94 04:20:56  ilbm2ascii-1.4/examples/tf.ascii
  91.     4766    2851 40.1% 11-May-94 04:24:44  ilbm2ascii-1.4/examples/tf.iff
  92.    22452   12479 44.4% 22-Jun-94 12:59:56  ilbm2ascii-1.4/ilbm2ascii
  93.     3949    1699 56.9% 22-Jun-94 12:59:32  ilbm2ascii-1.4/ilbm2ascii.c
  94.     2316    1298 43.9% 15-Jun-94 20:44:24  ilbm2ascii-1.4/ilbm2ascii.o
  95.       67      66  1.4% 02-Sep-92 13:12:34  FILE_ID.DIZ
  96.      948     492 48.1% 02-Sep-92 15:26:38  ilbm2ascii-1.4.info
  97.     4608    1517 67.0% 21-Jun-94 10:06:14  ilbm2ascii-1.4/ilbm2ascii.readme
  98.     5031    1624 67.7% 15-Jun-94 21:13:42  ilbm2ascii-1.4/ilbm2ascii.rexx
  99.     1610     648 59.7% 15-Jun-94 21:25:46  ilbm2ascii-1.4/ilbm2ascii.rexx.info
  100. -------- ------- ----- --------- --------
  101.    97185   44565 54.1% 27-Jun-94 09:43:40   17 files
  102.